var mySwiper = new Swiper('.swiper-container', {
	loop: true, // 循环模式选项
	autoplay: true, //等同于以下设置
	// 如果需要分页器
	pagination: {
		el: '.swiper-pagination',
	},

	// 如果需要前进后退按钮
	navigation: {
		nextEl: '.swiper-button-next',
		prevEl: '.swiper-button-prev',
	},

})

/*导航*/

var li = document.querySelector(".box .navbar-nav .li-1");
var nav_body = document.querySelector(".nav-body1");

li.addEventListener("mouseover",function(){
	nav_body.style.display ="block"; 
})
li.addEventListener("mouseout",function(){
	nav_body.style.display ="none"; 
})
nav_body.addEventListener("mouseover",function(){
	nav_body.style.display ="block"; 
})
nav_body.addEventListener("mouseout",function(){
	nav_body.style.display ="none"; 
})



var li_1 = document.querySelector(".box .navbar-nav .li-2");
var nav_body2 = document.querySelector(".nav-body2");

li_1.addEventListener("mouseover",function(){
	nav_body2.style.display ="block"; 
})
li_1.addEventListener("mouseout",function(){
	nav_body2.style.display ="none"; 
})
nav_body2.addEventListener("mouseover",function(){
	nav_body2.style.display ="block"; 
})
nav_body2.addEventListener("mouseout",function(){
	nav_body2.style.display ="none"; 
})






